package com.sias.realestate.web.dao;

import java.util.List;

import com.sias.realestate.core.generic.GenericDao;
import com.sias.realestate.web.model.Owner;

public interface OwnerMapper extends GenericDao<Owner, Integer>{
    int deleteByPrimaryKey(Integer oId);

    int insert(Owner record);

    int insertSelective(Owner record);

    Owner selectByPrimaryKey(Integer oId);

    int updateByPrimaryKeySelective(Owner record);

    int updateByPrimaryKey(Owner record);
    
    List<Owner> findAll();
    
    List<Owner> findByStatus();
    
    Owner selectByIdcard(String oIdcard);
    
}